package indi.luckly.service;

import indi.luckly.common.ApiException;
import indi.luckly.common.request.UpDateUserInfoParams;
import indi.luckly.common.response.QueryUserBaseInfoResponseData;
import indi.luckly.common.response.ResponseResult;

import java.lang.reflect.InvocationTargetException;

public interface IUserService {
    /**
     * 查询用户信息
     *
     * @param userNumber userName
     * @return
     */
    public QueryUserBaseInfoResponseData queryUserInfo(String userNumber) throws ApiException, InvocationTargetException, IllegalAccessException;


    /**
     * 更新用户信息
     *
     * @param params 更新的用户信息
     * @return
     */
    public void upDateUserInfo(UpDateUserInfoParams params) throws ApiException, InvocationTargetException, IllegalAccessException;
}
